package com.example.wanjialei.mapper;

import com.example.wanjialei.pojo.Summary;
import com.example.wanjialei.pojo.SummaryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SummaryMapper {
    long countByExample(SummaryExample example);

    int deleteByExample(SummaryExample example);

    int deleteByPrimaryKey(Integer no);

    int insert(Summary row);

    int insertSelective(Summary row);

    List<Summary> selectByExample(SummaryExample example);

    Summary selectByPrimaryKey(Integer no);

    int updateByExampleSelective(@Param("row") Summary row, @Param("example") SummaryExample example);

    int updateByExample(@Param("row") Summary row, @Param("example") SummaryExample example);

    int updateByPrimaryKeySelective(Summary row);

    int updateByPrimaryKey(Summary row);

//    联表查询
    List<Summary> selectAll (Summary summary);
    int insert2(Summary summary);
}